<?php

namespace myshop\system\model;

use longhu\base\BaseModel as Model;
use longhu\traits\db\BaseOptionsTrait;
use longhu\traits\db\ScopeTrait;
/**
 *
 * @property int $id
 * @property int $import_id
 * @property int $type
 * @property string $data
 * @property int $status
 * @property string $error_msg
 * @property int $created_at
 * @property int $updated_at
 * @property int $deleted_at
 */
class ImportData extends Model
{
    use BaseOptionsTrait, ScopeTrait;
    
    protected $json = ['data'];
    public $field = [
        // 
        'id',
        // 
        'import_id',
        // 
        'type',
        // 
        'data',
        // 0:未开始 1：成功 2：失败
        'status',
        // 错误原因
        'error_msg',
        // 
        'created_at',
        // 
        'updated_at',
        // 
        'deleted_at',
    ];
    public $name = 'import_data';
}